@charset "utf-8";

.cart_body {
    background-color: lightgray;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 700px;
    height: 450px;
    transform: translate(-50%, -50%);
    opacity: 0.8;
}

.back_button_area {
    padding-left: 20px;
    padding-top: 20px;
}

.photo_area {
    width: 250px;
    height: 300px;
    padding-left: 50px;
    padding-top: 30px;
}

.photo_area img {
    width: 250px;
}

/* 商品名称距离顶部的距离 34 + 30 + 20 px */

.shop_name {
    position: absolute;
    top: 56px;
    left: 50%;
}

.shop_name h5 {
    display: inline-block;
}

.shop_name h3 {
    display: inline-block;
    font-weight: bold;
}

.shop_price {
    position: absolute;
    top: 100px;
    left: 50%;
}

.shop_price h5 {
    display: inline-block;
}

.shop_price h3 {
    display: inline-block;
    font-weight: bold;
}

.into_shopcart_button_area {
    position: absolute;
    bottom: 10%;
    right: 10%;
}

.into_shopcart_button_area button {
    transition: 3s;
}